package com.atguigu.schedule.service;

import com.atguigu.schedule.POJO.SysUser;

import java.sql.SQLException;

public interface SysUserService {
    /**
     * 处理是否注册成功
     * @param sysUser
     * @return
     */
    int regist(SysUser sysUser) throws SQLException;

    /**
     * 处理用户是否登录成功
     * @param sysUser
     * @return
     */
    SysUser login(SysUser sysUser);
}
